//
//  GYOrderCell.h
//  GoodLuck
//
//  Created by apple on 2018/3/22.
//  Copyright © 2018年 yunjiazhineng. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GYOrder.h"

/** 删除订单回调 */
typedef void(^deleteOrderBlock)();

/** 取消订单block */
typedef void(^cancelOrderBlock)();

typedef void(^confirmOrEvaluateBlock)(NSInteger orderState);

//typedef void(^confirmCollectGoodsBlock)(NSString *order_id);

@interface GYOrderCell : UICollectionViewCell

/** 订单模型 */
@property (nonatomic, strong) GYOrder *orderModel;

/** blcok回调 */
@property (nonatomic, copy) deleteOrderBlock deleteOrderCallBack;

/** <#description#> */
@property (nonatomic, copy) cancelOrderBlock cancelOrderCallBack;

/** <#description#> */
@property (nonatomic, copy) confirmOrEvaluateBlock confirmOrEvaluateCallBack;

/** 确认收货订单 */
//@property (nonatomic, copy) confirmCollectGoodsBlock confirmCollectGoodsCallBack;

/** 订单分区 */
//@property (nonatomic, assign) NSInteger section;
- (CGFloat)getHeight:(GYOrder *)model;

@end
